package com.gc.server.dao;

import com.gc.server.entity.LinkHeadEntity;
import com.gc.server.vo.LinkHeadVo;
import org.apache.ibatis.annotations.Mapper;
import com.yf.dao.BaseDao;
import java.util.List;
/**
 * 连锁总部Dao
 *
 * @author hxf
 * @email 505860922@qq.com
 * @date Thu Oct 22 15:40:31 CST 2020
 */
@Mapper
public interface LinkHeadDao extends BaseDao<LinkHeadEntity> {

    List<LinkHeadVo> findVo(LinkHeadVo vo);

    LinkHeadVo getVo(Long id);

    LinkHeadEntity findByCode(String code);


    List<LinkHeadEntity> findByUserId(Long userId);
}
